termly\Termly_API_Controller S

Total Complexity 18
Dependencies 3
Dependents 7
Total lines 258
Lines of code 148
Logical lines of code 51
Comment lines 71
Methods 11
Properties 0

Methods 11

Method Rating Maintainability Complexity Lines of code
api_key_field()
S
62 4 11
business_info_field()
S
48 1 45
register_settings()
S
52 1 27
call()
S
53 1 25
site_url_field()
S
67 2 8
remove_auth()
S
71 2 6
maybe_json_body()
S
70 2 6
maybe_json_header()
S
69 2 6
hooks()
S
71 1 5
empty_header()
S
89 1 2
add_temporary_auth()
S
68 1 7